'use strict';

class GenTicketId {
  static geneteId() {
    const random = Math.random().toString().substr(2, 6);
    const date = new Date();
    const genId = random.concat(date.getTime());
    return genId;
  }
}

module.exports = GenTicketId;
